s=input("请输入阶乘的数：")
s=int(s)
for i in range (1,s):
    s=s*i
    print(s)